﻿using Pp.Dto.Validators;

namespace Pp.Dto
{
    using System;
    using System.Web;

    public class UserEditDto
    {
        public Guid Id { get; set; }
        public bool MailAdressVisible { get; set; }
        [EmptyValidator]
        public string City { get; set; }
        public string CvInfo { get; set; }
        [EmptyValidator]
        public string EducationalInfo { get; set; }
        [EmptyValidator]
        public string WorkInfo { get; set; }
        [EmailValidator, EmptyValidator]
        public virtual string MailAdress { get; set; }
        [EmptyValidator, MaxLengthValidator(64)]
        public virtual string Username { get; set; }
        [MaxLengthValidator(50)]
        public virtual string FirstName { get; set; }
        [MaxLengthValidator(50)]
        public virtual string LastName { get; set; }
        
        public virtual HttpPostedFileBase PictureFile { get; set; }
        [EmptyValidator]
        public virtual DateTime BirthDay { get; set; }
     
        public virtual bool IsMan { get; set; }


    }
}
